package main

import (
	"net/http"
	_ "net/http/pprof"

	"yingsheng.com/go-api-server"
	_ "yingsheng.com/go-api-server/example/api"
	_ "yingsheng.com/go-api-server/example/filter"
	_ "yingsheng.com/go-api-server/example/mq"
	_ "yingsheng.com/go-api-server/example/task"
)

func main() {
	// 性能检查
	go func() {
		http.ListenAndServe(":6060", nil)
	}()

	apiserver.Run()
}
